package com.youlai.system.pojo.entity.device;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("device_warn_setting")
public class DeviceWarnSettingEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 设备id
     */
    private Integer deviceId;

    /**
     *
     */
    private String  type;

    private Integer warnGap;

    private Date createTime;

    private Boolean noticeMsg;

    private Double upValue;

    private Double downValue;

    private Integer level;
}
